Package-level declarations

Types

Link copied to clipboard
fun interface C2SPayloadHandler<T : CustomPayload> : PayloadHandler<T, ServerPlayerEntity, ServerPlayNetworkContext>

Handler for a server receiving a payload sent from a client

Link copied to clipboard
class ClientPlayNetworkContext(context: ClientPlayNetworking.Context) : NetworkContext<ClientPlayerEntity>

A client-side network context, used to handle S2C payloads

Link copied to clipboard
interface NetworkApi

API for multiloader abstraction of simple play-phase networking

Link copied to clipboard
interface NetworkContext<T : PlayerEntity>
Link copied to clipboard
interface PayloadHandler<T : CustomPayload, P : PlayerEntity, C : NetworkContext<P>>
Link copied to clipboard
fun interface S2CPayloadHandler<T : CustomPayload> : PayloadHandler<T, ClientPlayerEntity, ClientPlayNetworkContext>

Handler for a client receiving a payload sent from the server

Link copied to clipboard
class ServerPlayNetworkContext(context: ServerPlayNetworking.Context) : NetworkContext<ServerPlayerEntity>

A server-side network context, used to handle C2S payloads